package com.hongxun.greenentity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;

/**
 * 系统用户
 */
@Entity
public class SysUserEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @Id
    private Long userId;

    /**
     * 用户名
     */
    private String username;

    private String deptName;

    @Generated(hash = 1010746232)
    public SysUserEntity(Long userId, String username, String deptName) {
        this.userId = userId;
        this.username = username;
        this.deptName = deptName;
    }

    @Generated(hash = 1500725194)
    public SysUserEntity() {
    }

    public Long getUserId() {
        return this.userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return this.username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getDeptName() {
        return this.deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

   



}
